package com.imooc.o2o.dao;

import com.imooc.o2o.entity.Shop;

public interface ShopDao {
    //通过shop id查询店铺
    Shop queryByShopId(long shopId);
    //int返回自增的id 1新增成功 -1新增失败
    //Shop shop插入数据的类型是Shop类型
    int insertShop(Shop shop);
    int updateShop(Shop shop);
}
